* xterm.h: Rename x_non_menubar_window_to_frame to
authorJan Djärv <jan.h.d@swipnet.se>
Wed, 2 Sep 2009 17:03:20 +0000 (17:03 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Wed, 2 Sep 2009 17:03:20 +0000 (17:03 +0000)
commit3dbcc246b0e16fa51d8cce0b53bfc0ea59486bee
treef32bf4b325d7aeef743fd0dbd665445c03ffc6cd
parentbe3440542d585950dee2059d5c2b5b42a619da45
* xterm.h: Rename x_non_menubar_window_to_frame to
x_menubar_window_to_frame

* xterm.c: Remove declarations also in xterm.h
(XTmouse_position): Do not return valid positions
for clicks in the menubar and the toolbar for Gtk+.

* xfns.c (x_any_window_to_frame): Assume less about Gtk+ internals,
if the widget for the event has the same top level as a frame,
return the frame.
(x_menubar_window_to_frame): Detect menu bar even with Gtk+
internal windows, bug #4122.
(x_non_menubar_window_to_frame): Remove.
src/ChangeLog
src/xfns.c
src/xterm.c
src/xterm.h